package org.dromara.exam.domain.dto;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;


/**
 * 题目导入对象
 *
 * @author xiyin321
 * @date 2024-04-11
 */

@Data
@Builder
@ExcelIgnoreUnannotated
public class TemplateImport {

    /**
     * 题目ID
     */
    private Long templateId;

    /**
     * 题目标题
     */
    private String templateName;

    /**
     * 题目类型
     */
    private TemplateSchema.QuestionType questionType;

    /**
     * 标签
     */
    private String[] tag;

    /**
     * 显示顺序
     */
    private Long orderNum;

    /**
     * 题目模板
     */
    private TemplateSchema template;

    /**
     * 答案
     */
    private String answer;

    /**
     * 分值
     */
    private BigDecimal score;
}
